<html>
<body>
	<div id="content_div">

		<form id="f1" method="POST">
			<table>
				<tr>
					<td>Chair</td><td>Eugene</td>
				</tr>
				<tr>
					<td>Title</td><td><div id="txt_title"></div></td>
				</tr>
				<tr>
					<td>Description</td><td><div id="txt_description"></div></td>
				</tr>
				<tr>
					<td>Attendees</td><td>James Little, Jacob Feldman</td>
				</tr>
				<tr>
					<td>Date</td><td>10/10/2007 14:00</td>
				</tr>
				<tr>
					<td>Duration</td><td><div id="txt_duration"></div></td>
				</tr>
				<tr>
					<td>Place</td><td><div id="txt_place"></div></td>
				</tr>
				<tr>
					<td colspan="2"><input type="button" value="Accept and Broadcast" onClick="alert(location);" /></td>
				</tr>
			</table>
		</form>
	</div>

<script>
	
var mySearch = location.search.substr(1).split("&");
var arrFields = new Array("txt_title", "txt_description", "txt_duration", "txt_place");
var strTmp = new Array();
var i = 0;
var x = 0;

for (x = 0; x < mySearch.length; x++){
	strTmp = mySearch[x].split("=");
	
	for (i = 0; i < arrFields.length; i++){
		if(strTmp[0] == arrFields[i]){
			document.getElementById(strTmp[0]).innerHTML = unescape(strTmp[1]);
		}
	}
}	
	
</script>

</body>
</html>
